SERVER=server 
CLIENT=client 

CC=g++
FLAGS= -std=c++11

SERVER_SRC=Server.cc
CLIENT_SRC=Client.cc
#PIPE=fifo

.PHONY:all
all:$(SERVER) $(CLIENT)

$(SERVER):$(SERVER_SRC)
	$(CC) -o $@ $^ $(FLAGS)

$(CLIENT):$(CLIENT_SRC)
	$(CC) -o $@ $^ $(FLAGS)

.PHONY:clean
clean:
	rm -f $(SERVER) $(CLIENT)
#	unlink $(PIPE)


